package GPool

var defaultPool *Pool

func NewGoPool(capacity int32) *Pool {
	if defaultPool != nil {
		defaultPool.cap = capacity
		return defaultPool
	}
	return NewPool(capacity)
}